package com.syj.nodbweb.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName : ThreadController
 * @Description :线程测试
 * @Author : 石蕴杰
 * @Date: 2020/7/1 21:53
 */
@Scope("prototype")
@Controller
@Api(value = "测试controller1", tags = "测试controller")
@RequestMapping("/threadController1")
public class Thread1Controller {
    @Autowired
    protected HttpServletRequest request;
    @ApiOperation(value = "pageHelper方式查询1")
    @GetMapping("/queryPageHelper")
    @ResponseBody
    public void queryPageHelper(){
//        return "1";
    }
}
